<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>返回该连接的端口号</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="function.pg-ping.html">pg_ping</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="function.pg-prepare.html">pg_prepare</a></div>
 <div class="up"><a href="ref.pgsql.html">PostgreSQL 函数</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="function.pg-port" class="refentry">
   <div class="refnamediv">
    <h1 class="refname">pg_port</h1>
    <p class="verinfo">(PHP 4, PHP 5)</p><p class="refpurpose"><span class="refname">pg_port</span> &mdash; <span class="dc-title">
     返回该连接的端口号
    </span></p>

   </div>
   <div class="refsect1 unknown-unknown-seealsq" id="refsect1-function.pg-port-unknown-unknown-seealsq">
    <h3 class="title">说明</h3>
     <div class="methodsynopsis dc-description">
      <span class="type">int</span> <span class="methodname"><strong>pg_port</strong></span>
       ( <span class="methodparam"><span class="type">resource</span> <code class="parameter">$connection</code></span>
      )</div>

    <p class="para rdfs-comment">
     <span class="function"><strong>pg_port()</strong></span> 返回给定的 PostgreSQL <em><code class="parameter">connection</code></em> 资源所连接的端口号。
    </p>
   </div>

  </div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="function.pg-ping.html">pg_ping</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="function.pg-prepare.html">pg_prepare</a></div>
 <div class="up"><a href="ref.pgsql.html">PostgreSQL 函数</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
